// headsupdisplay.h

// 2008-05-02 11:16:28 (Jake): created

#ifndef headsupdisplay_h
#define headsupdisplay_h 1

class Game;

class HeadsUpDisplay : public osg::NodeCallback {
public:
	HeadsUpDisplay(Game* game);

	osg::Node* getNode();

	virtual void operator()(osg::Node* node, osg::NodeVisitor* nv);

protected:
	osg::observer_ptr<Game> _game;
	osg::ref_ptr<osg::Camera> _camera;
	osg::ref_ptr<osgText::Text> _textCamera;
	osg::ref_ptr<osgText::Text> _textTime;
	float _width;
	float _height;
};

#endif